home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / smail-3.2.tar.gz / smail-3.2.tar / smail-3.2 / samples / queryprog / routers < prev   
Text File  |  1990-10-24  |  538b  |  15 lines

  1. # @(#) routers,v 1.2 1990/10/24 05:21:28 tron Exp
  2.  
  3. # This router file defines one router which calls upon a shell script to
  4. # match remote hosts.  To use this router, insert it into a complete
  5. # router file where appropriate and copy the file query.sh into the smail
  6. # configuration file directory.
  7.  
  8. # use query.sh to match hosts
  9. use_query:
  10.     driver = queryprogram,        # query a program for route info
  11.     transport = uux;        # use this as a default
  12.  
  13.     cmd = "/bin/sh $smail_lib_dir/query.sh ${lc:host}",
  14.     domain = uucp, read_transport, read_path
  15.